.learning-page {
  height: 100vh;
  background-color: #f8f9fa;
}

.learning-sider {
  background: #fff;
  border-right: 1px solid #f0f0f0;
  overflow-y: auto;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
}

.course-progress {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
  color: white;
}

.course-progress h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

.chapter-menu {
  border-right: none;
  padding: 16px;
}

.chapter-menu .ant-menu-item {
  margin: 8px 0;
  border-radius: 8px;
  height: auto;
  line-height: 1.5;
  padding: 12px 16px;
}

.chapter-menu .ant-menu-item:hover {
  background-color: #f0f7ff;
}

.chapter-menu .ant-menu-item-selected {
  background-color: #e6f7ff;
  color: #1890ff;
}

.lesson-progress {
  margin-left: 8px;
  width: 60px;
}

.learning-content {
  padding: 24px;
  background: #f8f9fa;
  overflow-y: auto;
}

.video-card {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lesson-info {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lesson-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.lesson-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.note-input {
  margin-top: 24px;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.note-input .ant-btn {
  margin-top: 16px;
  height: 40px;
  padding: 0 24px;
  border-radius: 8px;
}

.video-player-wrapper {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.video-player-wrapper .video-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .learning-sider {
    position: fixed;
    left: -300px;
    transition: all 0.3s;
    z-index: 1000;
    height: 100vh;
  }

  .learning-sider.show {
    left: 0;
  }

  .learning-content {
    margin-left: 0;
    padding: 16px;
  }

  .video-card {
    margin-bottom: 16px;
  }

  .lesson-info {
    padding: 16px;
  }

  .lesson-header h2 {
    font-size: 20px;
  }

  .note-input {
    padding: 16px;
  }
}